<?php
/**
 * Created by IntelliJ IDEA.
 * User: admin
 * Date: 5/26 0026
 * Time: 17:56
 */

namespace app\api\model;


use think\Model;

class Gradient extends Model
{

    public function getallbysort(){
        return $this->where("status",1)->order("rank","asc")->order("money","desc")->select();
    }

}